<template>
  <div class="index">

    <div class="div-header">
      <header-component></header-component>
    </div>
    <div class="div-container">
      <div class="div-menu">
        <menu-component></menu-component>
      </div>
      <div class="div-content">
        <router-view></router-view>
      </div>
    </div>

    <div class="div-footer bg-default">
      <!--<span>Copyright © 2013-2017 深圳市华师特科技有限公司</span>-->
    </div>
  </div>
</template>

<script>



  import header from '@/base/header.vue'
  import menu from '@/base/menu.vue'

  export default {
    name: 'app',
    data() {
      return {
      }
    },
    components: {
      'menu-component': menu,
      'header-component': header,
    },
    created:function () {
    },
    methods: {
    },

  }
</script>

<style>
  .bg-default {
    background: rgb(238, 241, 246);
  }

  .index{
    flex:1;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

  .div-header{
    width: 100%;
    border-bottom:1px solid rgb(209,219,229);
  }


  .div-container {
    box-sizing: border-box;
    width: 100%;
    flex:1;
    display: flex;
    flex-direction: row;
  }

  .div-menu {
    width: 200px;
    min-width: 200px;
    border-right:1px solid rgb(209,219,229);

  }

  .div-content {
    width: 85%;
    flex:1;
  }

  .div-footer {
    width: 100%;
    height: 30px;
    border-top:1px solid rgb(209,219,229);
  }

  .div-footer span {
    display: block;
    width: 100%;
    line-height: 30px;
    text-align: center;
    color: rgb(100, 102, 104);
  }
</style>
